package com.yida.gwj.expend.outside.mapper;

import com.yida.gwj.expend.outside.domain.GwjMaintenanceFundsBusinessLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 签署意见Mapper接口
 *
 * @author lgp
 * @date 2023-02-20
 */
@Mapper
public interface GwjMaintenanceFundsBusinessLogMapper
{
    /**
     * 查询签署意见
     *
     * @param bizLogId 签署意见主键
     * @return 签署意见
     */
    public GwjMaintenanceFundsBusinessLog selectGwjMaintenanceFundsBusinessLogByBusinessLogId(Long bizLogId);

    /**
     * 查询签署意见列表
     *
     * @param gwjMaintenanceFundsBusinessLog 签署意见
     * @return 签署意见集合
     */
    public List<GwjMaintenanceFundsBusinessLog> selectGwjMaintenanceFundsBusinessLogList(GwjMaintenanceFundsBusinessLog gwjMaintenanceFundsBusinessLog);

    /**
     * 新增签署意见
     *
     * @param gwjMaintenanceFundsBusinessLog 签署意见
     * @return 结果
     */
    public int insertGwjMaintenanceFundsBusinessLog(GwjMaintenanceFundsBusinessLog gwjMaintenanceFundsBusinessLog);

    /**
     * 修改签署意见
     *
     * @param gwjMaintenanceFundsBusinessLog 签署意见
     * @return 结果
     */
    public int updateGwjMaintenanceFundsBusinessLog(GwjMaintenanceFundsBusinessLog gwjMaintenanceFundsBusinessLog);

    /**
     * 删除签署意见
     *
     * @param bizLogId 签署意见主键
     * @return 结果
     */
    public int deleteGwjMaintenanceFundsBusinessLogByBusinessLogId(Long bizLogId);

    /**
     * 批量删除签署意见
     *
     * @param bizLogIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGwjMaintenanceFundsBusinessLogByBusinessLogIds(Long[] bizLogIds);

    /**
     * 通过businessId修改签署意见
     *
     * @param gwjMaintenanceFundsBusinessLog 签署意见
     * @return 结果
     */
    public int updateGwjMaintenanceFundsBusinessLogByBusinessId(GwjMaintenanceFundsBusinessLog gwjMaintenanceFundsBusinessLog);
}
